Fix bug #9943 on X.
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Nov 2011 21:56:32 +0000 (23:56 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Nov 2011 21:56:32 +0000 (23:56 +0200)
 src/xfns.c (unwind_create_frame): If needed, free the glyph
 matrices of the partially constructed frame.

src/ChangeLog
src/xfns.c

index 43675c07d802848a56422b6a2f28d459318a7e7a..36f78253bae624ddc2093205d5aa4e40c250dc9a 100644 (file)
@@ -2,6 +2,7 @@
 
        * w32fns.c (unwind_create_frame): If needed, free the glyph
        matrices of the partially constructed frame.  (Bug#9943)
+       * xfns.c (unwind_create_frame): Likewise.
 
 2011-11-01  Eli Zaretskii  <eliz@gnu.org>
 
index 913cde75d913a8715b109a82b137c4f86aaafe19..ac030582ffe3936d38aa6d34ba4db99e045a584f 100644 (file)
@@ -2936,6 +2936,7 @@ unwind_create_frame (Lisp_Object frame)
 #endif
 
       x_free_frame_resources (f);
+      free_glyphs (f);
 
 #if GLYPH_DEBUG
       /* Check that reference counts are indeed correct.  */